package com.cmy.web.listener

/**
 * @name:
 *  JsDialogListener
 * @package:
 *  com.cmy.web.listener
 * @date:
 *  2023/4/2310:49
 * @author
 *    cmy
 * @description
 *  WebView中Js弹窗对应的接口回调处理
 */
interface JsDialogListener {

   fun onJsAlert(url: String?, message: String?):Boolean

    fun onJsConfirm( url: String?, message: String?): Boolean

    fun onJsBeforeUnload(url: String?, message: String?): Boolean

   fun onJsPrompt(url: String?, message: String?, defaultValue: String? ): Boolean
}